import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        keepList: ['home', 'login', 'modify', 'my'],
        isShowHeader:true,
    },
    getters: {
    },
    mutations: {
        setKeepList(state, val) {
            state.keepList = val;
        },
        setIsShowHeader(state, val) {
            state.isShowHeader = val;
        },
    },
    actions: {

    },
    modules: {

    }
})
